package com.snoob.springcloudalibaba.enums;

/**
 * @description: 文件上传类型
 * @author: lixing
 * @time: 2021/6/12 22:48
 */
public enum UploadFileTypeEnum {
    IMAGE( "image", "图片" ),
    TXT( "txt", "文本" ),
    EXCEL( "excel", "excel" ),
    WORD( "word", "word" ),
    PDF( "pdf","pdf" ),
    VIDEO( "video", "video" ),
    ;

    private String type;
    private String description;

    UploadFileTypeEnum(String type, String description) {
        this.type = type;
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescribe() {
        return description;
    }

    public void setDescribe(String description) {
        this.description = description;
    }
}
